package com.mixed.mixedserver.service;

import com.mixed.mixedserver.model.vo.user.UserVO;
import com.mybatisflex.core.service.IService;
import com.mixed.mixedserver.model.entity.User;
import jakarta.servlet.http.HttpServletRequest;

/**
 * 用户 服务层。
 *
 * @author abluedog
 */
public interface UserService extends IService<User> {

    User login(User user);

    UserVO getLoginUserVO(HttpServletRequest request);

    UserVO getUserVO(User user);

    boolean register(User user);

    User getLoginUser(HttpServletRequest request);
}
